/**
 *  综合整体情况及时率数据
 *  @property {String} trace 日常跟踪及时率
 *  @property {String} research 调研及时率
 *  @property {String} vehicleManage 车辆管理及时率
 *  @property {String} supervise 督办及时率
 *  @property {String} businessHospitality 业务招待及时率
 */
export const TIMELINESS = {
  trace: "98.32%",
  research: "99.58%",
  vehicleManage: "99.75%",
  supervise: "98.48%",
  businessHospitality: "99.02%",
};
/**
 * 业务招待情况
 * @property {String} name 业务招待类型
 * @property {Number} value 业务招待类型占比
 */
export const BUSINESS_ENTERTAINMENT = [
  {
    name: "商务和外事 ",
    value: 90,
  },
  {
    name: "其他公务",
    value: 10,
  },
];
/**
 * 单位业务招待情况
 * @property {Number} annualBudget 年度预算
 * @property {Number} budgetUsed 已使用预算
 * @property {String} annualName 年度预算名称
 * @property {String} usedName 已使用预算
 */
export const UNIT_BUSINESS = {
  annualName: "年度预算",
  usedName: "已使用预算",
  annualBudget: 2560000,
  budgetUsed: 188479.08,
};
/**
 * 部门业务招待情况
 * @property {String} department 部门名称
 * @property {Number} budget 年度预算
 * @property {Number} actual 累计使用额度
 * @property {Number} percentage 使用进度
 */
export const SEGMENT_BUSINESS = [
  {
    department: "办公室",
    budget: 767000,
    actual: 31962,
    percentage: 4.17,
  },
  { department: "党建", budget: 19000, actual: 0, percentage: 0 },
  { department: "战略部", budget: 6000, actual: 420, percentage: 7 },
  { department: "法律部", budget: 6000, actual: 0, percentage: 0 },
  { department: "人力", budget: 21000, actual: 120, percentage: 0.57 },
  { department: "财务部", budget: 49000, actual: 3525, percentage: 7.19 },
  { department: "内审部", budget: 30000, actual: 0, percentage: 0 },
  { department: "供管部", budget: 38000, actual: 2325, percentage: 6.12 },
  { department: "市场部", budget: 90000, actual: 2075, percentage: 2.31 },
  { department: "客服部", budget: 18000, actual: 0, percentage: 0 },
  {
    department: "政企部",
    budget: 360000,
    actual: 22562.08,
    percentage: 6.27,
  },
  { department: "DICT中心", budget: 0, actual: 0, percentage: 0 },
  { department: "重客", budget: 890000, actual: 111080, percentage: 12.48 },
  { department: "信数部", budget: 60000, actual: 4625, percentage: 7.71 },
  { department: "规划部", budget: 35000, actual: 225, percentage: 0.64 },
  { department: "工程", budget: 13500, actual: 75, percentage: 0.56 },
  { department: "网络", budget: 36000, actual: 325, percentage: 0.9 },
  { department: "网管", budget: 14000, actual:0, percentage: 0 },
  { department: "信安", budget: 21000, actual: 0, percentage: 0 },
  { department: "行政", budget: 45000, actual:7510, percentage: 16.69 },
  { department: "纪委", budget: 23000, actual:1600, percentage: 6.96 },
  { department: "巡察办", budget: 8500, actual: 50, percentage: 0.59 },
  { department: "工会", budget: 10000, actual: 0, percentage: 0 },
];
/**
 * 业务招待类型情况
 * @property {String} name 招待类型
 * @property {String} budgetUsed 已使用预算
 * @property {String} percentageOfUse 使用占比
 */
export const BUSINESS_HOSPITALITY = [
  {
    name: "内部桌餐",
    budgetUsed: 4666.08,
    percentageOfUse: 2.48,
  },
  {
    name: "内部工作餐",
    budgetUsed: 19245,
    percentageOfUse: 10.21,
  },
  {
    name: "外部用餐",
    budgetUsed: 137338,
    percentageOfUse: 72.87,
  },
  {
    name: "线上纪念品",
    budgetUsed: 27230,
    percentageOfUse: 14.45,
  },
  {
    name: "线下纪念品",
    budgetUsed: 0,
    percentageOfUse: 0,
  },
];
/**
 * 综合类处理流程环节
 * @property {String} name 环节名称
 * @property {String} underApproval 待审批环节
 * @property {String} ended 已结束环节
 */
export const PROCESS_LINKS = [
  {
    name: "日常跟踪",
    underApproval: "0.03",
    ended: "99.97",
  },
  {
    name: "调研",
    underApproval: "0.21",
    ended: "99.79",
  },
  {
    name: "督办",
    underApproval: "0.47",
    ended: "99.53",
  },
  {
    name: "业务招待",
    underApproval: "0.31",
    ended: "99.69",
  },
  {
    name: "车辆管理",
    underApproval: "0.00",
    ended: "100.00",
  },
];
